
#include "HT66F0185.h"

/**
 * RAM初始化
 * 将所有RAM清零
 */
#define RAM_BANK 2

void fun_RamInit()
{
	_dmbp0 = 0;
	_mp1 = 0x80;
	for(_tblp = 0x00;_tblp < 128;_tblp++)
	{
		_iar1 = 0;
		_mp1++;
	}
	
	_dmbp0 = 1;	
	_mp1 = 0x80;
	for(_tblp = 0x00;_tblp < 128;_tblp++)
	{
		_iar1 = 0;
		_mp1++;
	}	
}

